package data_types_and_variables;

public class Exercise1 {

	/**
	 * Data type used for different cases
	 * @param args
	 */
	

	public static void main(String[] args) {
			
	/**
	 * Child age
	 */
		byte age;
		byte age2;
		age = (byte) 11;
		age2 = (byte) (age+1);
		System.out.println("Child's age is " + age);
		System.out.println("and next year he will be " + age2);
	
	/**
	 * Employee salary
	 */
		
		float salary;
		salary = 1560.50F;
		System.out.println("You earn " + salary);
	
	/**
	 * Whether somebody has children or not
	 */
		
		boolean haschildren;
		haschildren = true;
		System.out.println("They have children, " + haschildren);
	
	/**
	 * Apartment letter
	 */

		char letter;
		letter = 'C';
		System.out.println("He lives in apartment " + letter);
	}
}
